package com.fast.develop.core.persistence;

import com.fast.develop.core.data.Page;
import com.fast.develop.core.data.Pageable;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author 莫寅
 * @createTime 2022-06-06 18:55
 * @desc：
 */
public interface DomainModelManager {

    public List list(String model);

    public Page page(String model, Pageable pageable);

    public Serializable create(String model, Object object);

    public Object get(String model, Serializable serializable);

    public void update(String model, Serializable id, Object Object);

    public void delete(String model, Serializable id);

    public BatchObject batch(String model, BatchObject batchObject);
}
